#include <stdio.h>
// 提示用户输入5个电源电压大小:3.7v,1.5v,9.5v,12v,20v,已知电阻为5Ω,求每个电源的电流
int main()
{
  double voltage[5], electricity;
  for (int i = 0; i < 5; i++)
  {
    printf("请输入第 %d 个电源电压:", i + 1);
    scanf("%lf", &voltage[i]);
  }
  for (int i = 0; i < 5; i++)
  {
    electricity = voltage[i] / 5;
    printf("第 %d 个电源的电流为:%.2lf\n", i + 1, electricity);
  }
  return 0;
}